window.onload = function () {
    //模态框
    let noticeT = document.querySelector('.notice-title')
    let modal = document.querySelector('#modal')
    let close = document.querySelector('#close')
    noticeT.addEventListener('click', function () {
        modal.classList.remove('none')
    })
    close.addEventListener('click', function () {
        modal.classList.add('none')
    })
}